import request from '@/utils/request'

export const userInfoService = () => {
    return request({
        url: '/api/user/info',
        method: 'get',
    })
}

export const updateTeacherInfo = (teacherInfo) => {
    return request({
        url: '/teacher/improve',
        method: 'post',
        data: teacherInfo,
    })
}
